
// demo1Dlg.h : header file
//

#pragma once
#include "afxwin.h"
#include "colorBtn.h"


// Cdemo1Dlg dialog
class Cdemo1Dlg : public CDialogEx
{
	// Construction
public:
	Cdemo1Dlg(CWnd* pParent = NULL);	// standard constructor

	// Dialog Data
	enum { IDD = IDD_DEMO1_DIALOG };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support


	// Implementation
protected:
	HICON m_hIcon;

	CButton* m_ButtonArray[10];

	
	
	CButton* m_btn;
	//CBitmapButton

	// Generated message map functionsd
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();	
	afx_msg void OnAnyButton( UINT nID );

	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedOk();
	CButton* m_pButtonControls;

	//CColorButton* m_pButtonControls; 

	
	
	afx_msg void OnBnClicked1();
	
	CButton m_btn1;
};
